
<table id="tableOne" class="yui" width="80%">    
    <thead>
        <tr>
            <td width="30%"><a href='#' title="Click để sắp xếp">Tên Đăng Nhập</a></td>
            <td width="30%"><a href='#' title="Click để sắp xếp">Loại Quyền</a></td>
            <td width="15%"><a href='#' title="Click để sắp xếp">Quyền</a></td>
            <td width="10%"><a href='#' title="Click để sắp xếp">Địa chỉ</a></td>
            <td width="10%"><a href='#' title="Click để sắp xếp">Email</a></td>
            <td width="10%"><a href='#' title="Click để sắp xếp">Điện thoại</a></td>
            <td width="10%"><a href='#' title="Click để sắp xếp">Cập nhật</a></td>
        </tr>
    </thead>
    <tbody>
        <tr>
        
         <td align="right">&nbsp;[blk_data.username;block=tr]</td>
         <td align="right">&nbsp;[blk_data.power_type;.]</td>
        <td align="left">&nbsp;[blk_data.power;.] </td>
         <td align="left">&nbsp;[blk_data.address;.] </td>
         <td align="left">&nbsp;[blk_data.email;.] </td>
         <td align="left">&nbsp;[blk_data.phone;.] </td>
          <td align="left">&nbsp; <img src="images/icons/icon_edit.png" title="Sửa" style="cursor: pointer;" onClick="EditData('[blk_data.id;]');"> &nbsp; 
                        <img  src="images/icons/icon_delete.png" title="Xóa mục đang chọn" style="cursor: pointer;" onClick="DelData('[blk_data.id;]');"> &nbsp; 
                       
                        <img id='imgactive[blk_data.id;]'  src="images/icons/icon-deactivated.gif" title="Kích hoạt" style="cursor: pointer;" onClick="ActiveItem('[blk_data.id;]');">[onshow;block=img;when [blk_data.active]=0]</img>
                        <img id='imgactive[blk_data.id;]' src="images/icons/icon-active.gif" title="Bỏ kích hoạt" style="cursor: pointer;" onClick="ActiveItem('[blk_data.id;]');">[onshow;block=img;when [blk_data.active]=1]</img> </td>        
         </tr>
        
        <tr>
        <td colspan="7" align="center">[blk_data;block=tr;nodata;]<font color="#ff0000">Chưa có dữ liệu</font></td>
    </tr>
        </tbody>
        <tfoot>
        <tr id="pagerOne">
                    <td colspan="7">
                      <img src="scripts/_assets/img/first.png" class="first"/>
                     <img src="scripts/_assets/img/prev.png" class="prev"/>
                <input type="text" class="pagedisplay"/>
                <img src="scripts/_assets/img/next.png" class="next"/>
                <img src="scripts/_assets/img/last.png" class="last"/>
                <select class="pagesize">
                    <option selected="selected"  value="20">20</option>
                    <option value="1">50</option>
                    <option value="2">100</option>
                    <option  value="10000">Tất cả</option>
                </select>
                    </td>
        </tr>
        </tfoot>
</table>

